unitDef = {
	unitname            = "v_barracks",
	name                = "Barracks",
	description         = "A barracks. It trains the warriors.",
	buildpic            = "placeholder.png",
	buildcostenergy     = 50,
	buildcostmetal      = 50,
	buildtime           = 50,
	category            = "land structure",
	corpse              = "dead",
	footprintx          = 6,
	footprintz          = 6,
	
	--[[
	BuildingGroundDecalDecaySpeed = 0.01,
	BuildingGroundDecalSizeX      = 9,
	BuildingGroundDecalSizeY      = 9,
	BuildingGroundDecalType       = "farmplot.png",
	UseBuildingGroundDecal        = true,
	--]]
	collisionVolumeOffsets   = "0 0 0",
	collisionVolumeScales    = "40 40 40",
	collisionVolumeTest      = 1,
	collisionVolumeType      = "box",

	icontype            = "default", 
	--levelground         = 0, --is this really needed?
	maxdamage           = 1500,
	maxslope            = 30,
	objectname          = "wall.s3o", --fixme
	script              = "empty.lua",
	sightdistance       = 300,
	yardmap             = "oooooo oooooo oooooo oooooo oooooo oooooo",
	
	featureDefs         = {
	
		dead = {
		blocking        = 0,
		damage          = 100,
		description     = "Destroyed Barracks",
		object          = "boulder.s3o", --fixme
		},
	},
}

return lowerkeys({ v_barracks = unitDef })
